package com.supcon.exchangedata.repository.slave5;

import com.supcon.exchangedata.pojo.entity.mysql.operation.rq.RqGasSupply;
import com.supcon.exchangedata.pojo.entity.mysql.operation.rq.RqLiqefedGas;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

;

public interface RqLiqefedGasInfo extends JpaRepository<RqLiqefedGas, Long> {

    @Transactional
    @Query(nativeQuery = true, value = "SELECT * FROM rq_liqefed_gas WHERE month_key = ?1")
    RqLiqefedGas findByTime(String time);
}
